import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import { IonicModule } from '@ionic/angular';
import { FileTransfer } from '@ionic-native/file-transfer/ngx';
import { Camera } from '@ionic-native/camera/ngx';
import { File } from '@ionic-native/file/ngx';
import { WebView } from '@ionic-native/ionic-webview/ngx';
import { AngularCropperjsModule } from 'angular-cropperjs';

import { PersonInfoPageRoutingModule } from './person-info-routing.module';
import { PersonInfoPage } from './person-info.page';
import { PhotoComponent } from './photo/photo.component';
import { PhotoEditComponent } from './photo-edit/photo-edit.component';

@NgModule({
  imports: [
    CommonModule,
    FormsModule,
    IonicModule,
    AngularCropperjsModule,
    PersonInfoPageRoutingModule
  ],
  declarations: [PersonInfoPage, PhotoComponent, PhotoEditComponent],
  providers: [Camera, FileTransfer, File, WebView]
})
export class PersonInfoPageModule { }
